import request from '@/utils/request'

export function GetList(param) {
  return request({
    url: '/topic/page',
    method: 'get',
    params:param
  })
}
export function Remove(id) {
  return request({
    url: '/topic/'+id,
    method: 'delete',
  })
}
export function SaveTopic(data) {
  return request({
    url: '/topic',
    method: 'post',
    data
  })
}
